package com.linsir.lin.service;

import org.camunda.bpm.engine.ProcessEngine;
import org.camunda.bpm.engine.repository.Deployment;
import org.camunda.bpm.engine.repository.ProcessDefinition;

import java.util.List;
import java.util.Map;

/**
 * @ProjectName:linsir-lin
 * @Package:com.linsir.lin.service
 * @Title: CamundaService
 * @Description: 流程相关服务
 * @Create:2021/6/27 17:28 by @author:Linsir
 * @Update:2021/6/27 17:28 by @author:Linsir
 * @UpdateRemark: 初始创建
 * @Version: 1.0.0
 */
public interface CamundaService {
    ProcessEngine get();

    /**
     * 获取部署列表
     * @return
     */
    void deploymentList();

    /**
     * 流程部署日志
     * @return
     */
    List<Map<String,String>> delopyLog();


    /**
     * 获取定义的流程
     * @return
     */
    List<ProcessDefinition> getProcessDefinitionList();
}
